package com.cn.yunhe.rentcars.model.permission;

import java.io.Serializable;
import java.util.Date;


/**
 * 权限资源
 * 
 * @author 刘源
 *
 */
public class Resource implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String permisId;	//资源id
	private String permisName;	//资源中文名称
	private String permisCode;	//资源代码  user:add
	private String permisType;	//资源类型 1.menul 2.nenul2 3.button
	private String relateURL;	//相对路径	/admin/list
	private String parentId;	//上级编号
	private String parentids;	//上级目录  0/1/2
	private int isabled;	//是否启用 0:禁用 1:启用默认
	private String addTime;	//添加时间默认系统时间
	
	

	public String getPermisId() {
		return permisId;
	}

	public void setPermisId(String permisId) {
		this.permisId = permisId;
	}

	public String getPermisName() {
		return permisName;
	}

	public void setPermisName(String permisName) {
		this.permisName = permisName;
	}

	public String getPermisCode() {
		return permisCode;
	}

	public void setPermisCode(String permisCode) {
		this.permisCode = permisCode;
	}

	public String getPermisType() {
		return permisType;
	}

	public void setPermisType(String permisType) {
		this.permisType = permisType;
	}

	public String getRelateURL() {
		return relateURL;
	}

	public void setRelateURL(String relateURL) {
		this.relateURL = relateURL;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getParentids() {
		return parentids;
	}

	public void setParentids(String parentids) {
		this.parentids = parentids;
	}

	public int getIsabled() {
		return isabled;
	}

	public void setIsabled(int isabled) {
		this.isabled = isabled;
	}

	public String getAddTime() {
		return addTime;
	}

	public void setAddTime(String addTime) {
		this.addTime = addTime;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	
	
	
	
	

}
